<?php
class tbl_game extends AppModel
{
    public $useTable = 'hot_time_event_info_lists';
    public $useDbConfig = 'fantasy_hero_kr_game';
    public $primaryKey = '_id';

    public function get_hot_time_setting($day)
    {
        $params = array(
            'conditions' => array(
                'Id' => $day,
            ),
            'fields' => array(
                'HotTime', 'EventHours', 'Event','Desc'
            ),
        );

        $data = $this->find('all', $params);

        return $data;
    }
}